package com.xoa.controller.party;

import com.xoa.util.CookiesUtil;
import com.xoa.util.common.session.SessionUtils;
import com.xoa.util.dataSource.ContextHolder;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;

@Controller
@RequestMapping("/street")
public class StreetController {

    @RequestMapping("/common/selectUserWorkFlow")
    public String selectUserWorkFlow(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/common/selectUserWorkFlow";
    }

    @RequestMapping("/oranges")
    public String zuzhhi() {
        return "app/party/oranges";
    }

    @RequestMapping("/streetH5")
    public String streetH5(HttpServletRequest request) {
        //SessionUtils.putSession(request.getSession(), "LOCALE_SESSION_ATTRIBUTE_NAME", "zh_CN");
        return "app/party/streetH5";
    }

    @RequestMapping("/streetTwoH5")
    public String streetTwoH5() {
        return "app/party/streetTwoH5";
    }

    @RequestMapping("/orangesnew")
    public String zuzhhdi() {
        return "app/party/orangesnew";
    }
    @RequestMapping("/chooseMap")
    public String chooseMap() {
        return "app/party/chooseMap";
    }
    @RequestMapping("/partyManagement")
    public String partyManagement() {
        return "app/party/partyManagement/index";
    }
    @RequestMapping("/addParty")
    public String addParty() {
        return "app/party/partyManagement/addParty";
    }
//    党员信息发布
    @RequestMapping("/InformationDelivery")
    public String InformationDelivery() {
        return "app/party/partyManagement/InformationDelivery";
    }
    @RequestMapping("/gridMember")
    public String gridMember() {
        return "app/party/theGrid/gridMember";
    }
    @RequestMapping("/informationSet")
    public String informationSet() {
        return "app/party/theGrid/informationSet";
    }
    @RequestMapping("/guanli")
    public String guanli() {
        return "app/party/interim/permanentResidents";
    }

    @RequestMapping("/orgDepartment")//组织架构
    public String orgDepartment() {
        return "app/party/orgDepartment/org_deptManagement";
    }

    @RequestMapping("/orgDepartmentCe")//组织架构测
    public String orgDepartmentCe() {
        return "app/party/orgDepartment/org_deptManagementCe";
    }
    @RequestMapping("/jianjie")//简介
    public String juianjie() {
        return "app/party/interim/jianjie";
    }

    @RequestMapping("/orgGavmentFile")//
    public String Supervisionstatistic(HttpServletRequest request) {
        return "app/party/orgGavmentFile";
    }
    @RequestMapping("/zhengcewenjian")//政策文件
    public String zhengcewenjian() {
        return "app/party/interim/zhengcewenjian";
    }

    //党员活动
    @RequestMapping("partyMember")
    public String orgStructure( ) {
        return "app/party/zhdj/integralManagement/partyMember";
    }
    //党支部初审
    @RequestMapping("partyBranch")
    public String partyBranch( ) {
        return "app/party/zhdj/integralManagement/partyBranch";
    }
    //党支部初审
    @RequestMapping("group")
    public String group( ) {
        return "app/party/zhdj/integralManagement/group";
    }
    //党支部初审
    @RequestMapping("scoreIndex")
    public String scoreIndex( ) {
        return "app/party/zhdj/integralManagement/score/index";
    }
    //党支部初审
    @RequestMapping("yearScore")
    public String yearScore( ) {
        return "app/party/zhdj/integralManagement/score/yearScore";
    }
    //党支部初审
    @RequestMapping("monthScore")
    public String monthScore( ) {
        return "app/party/zhdj/integralManagement/score/monthScore";
    }
    @RequestMapping("/subjectTheme")//主题教育
    public String subjectTheme() {
        return "app/party/subjectTheme/subjectTheme";
    }
    @RequestMapping("/stoneGardenFigures")
    public String stoneGardenFigures() {
        return "app/party/stoneGardenFigures";
    }
    @RequestMapping("partyList")
    public String partyList(){
        return "app/party/partyList";
    }

    //宣传阵地页面映射
    @RequestMapping("/managerIndex")
    public String managerIndex(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/party/propagatePosition/managerIndex";
    }

    //组织机构宣传阵地页面映射
    @RequestMapping("/managerIndex1")
    public String managerIndex1(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/party/propagatePosition/managerIndex1";
    }
    //大事记页面
    @RequestMapping("/timeLineEvent")
    public String TimeLineEvent(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/event/event";
    }
    @RequestMapping("/huanbaoliucheng")//环保流程
    public String huanbaoliucheng() {
        return "app/party/interim/huanbaoliucheng";
    }
    @RequestMapping("/huanbaoliuchengtis")//环保流程
    public String huanbaoliuchengTis() {
        return "app/party/interim/huanbaoliuchengtis";
    }

    @RequestMapping("/lajitong")//垃圾桶
    public String lajitong() {
        return "app/party/interim/lajitong";
    }

    @RequestMapping("/backlogsheshi") //环保设施
    public String backlogsheshi() {
        return "app/party/interim/backlogsheshi";
    }
    @RequestMapping("/youyan") //油烟
    public String youyan() {
        return "app/party/interim/youyan";
    }
    @RequestMapping("/zhandian") //微型站点
    public String zhandian() {
        return "app/party/interim/zhandian";
    }
    @RequestMapping("/ledgerindex")//动态监管台账首页
    public String voteChild(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/environmentalLedger/index";
    }
    /**
     * 创建作者:   杨璞
     * 创建日期:   2017年9月18日
     * 方法介绍:   页面跳转连接
     * @return  环保台账首页映射
     */
    @RequestMapping("/restaurant")
    public String restaurant(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/environmentalLedger/restaurant";
    }

    /**
     * 创建作者:   杨璞
     * 创建日期:   2017年9月18日
     * 方法介绍:   页面跳转连接
     * @return  开墙打洞映射
     */
    @RequestMapping("/openWall")
    public String openWall(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/environmentalLedger/openWall";
    }

    /**
     * 创建作者:   杨璞
     * 创建日期:   2017年9月18日
     * 方法介绍:   页面跳转连接
     * @return  开墙打洞（经营）映射
     */
    @RequestMapping("/openWallManagement")
    public String openWallManagement(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/environmentalLedger/openWallManagement";
    }

    /**
     * 创建作者:   杨璞
     * 创建日期:   2017年9月18日
     * 方法介绍:   页面跳转连接
     * @return  汽修企业映射
     */
    @RequestMapping("/carRepair")
    public String carRepair(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/environmentalLedger/carRepair";
    }

    /**
     * 创建作者:   杨璞
     * 创建日期:   2017年9月18日
     * 方法介绍:   页面跳转连接
     * @return  在建工地映射
     */
    @RequestMapping("/building")
    public String building(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/environmentalLedger/building";
    }

    /**
     * 创建作者:   杨璞
     * 创建日期:   2017年9月18日
     * 方法介绍:   页面跳转连接
     * @return  门前三包映射
     */
    @RequestMapping("/doorThree")
    public String doorThree(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/environmentalLedger/doorThree";
    }

    /**
     * 创建作者:   杨璞
     * 创建日期:   2017年9月18日
     * 方法介绍:   页面跳转连接
     * @return  无证无照映射
     */
    @RequestMapping("/unlicensed")
    public String unlicensed(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/environmentalLedger/unlicensed";
    }
    @RequestMapping("/report")//事件上报
    public String report() {
        return "app/party/eventProcessing/report";
    }

    @RequestMapping("/toDoEvent") //待办事件
    public String toDoEvent() {
        return "app/party/eventProcessing/toDoEvent";
    }

    @RequestMapping("/haveToDoTheEvent") //已办事件
    public String haveToDoTheEvent() {
        return "app/party/eventProcessing/haveToDoTheEvent";
    }
    @RequestMapping("/eventQuery") //事件查询
    public String eventQuery() {
        return "app/party/eventProcessing/eventQuery";
    }
    @RequestMapping("/eventQuery1") //事件查询
    public String eventQuery1() {
        return "app/party/eventProcessing/eventQuery1";
    }

    @RequestMapping("/InspectionLocation") //巡检定位
    public String InspectionLocation() {
        return "app/party/InspectionLocation";
    }
    @RequestMapping("/checkTheInformation")//巡检记录
    public String checkTheInformation() {
        return "app/party/inspection/checkTheInformation";
    }
    @RequestMapping("/queryStatistics") //巡检查询
    public String queryStatistics() {
        return "app/party/inspection/queryStatistics";
    }
    @RequestMapping("/queryStatisticsTwo")
    public String queryStatisticsTwo() {
        return "app/party/queryStatisticsTwo";
    }

    @RequestMapping("/eventsAreAssignedBy")//新建指派
    public String eventsAreAssignedBy() {
        return "app/party/eventsAreAssignedBy/eventsAreAssignedBy";
    }
    @RequestMapping("/toDoAssigned")//待办指派
    public String toDoAssigned() {
        return "app/party/eventsAreAssignedBy/toDoAssigned";
    }

    @RequestMapping("/hasToDoAssigned")//已办指派
    public String hasToDoAssigned() {
        return "app/party/eventsAreAssignedBy/hasToDoAssigned";
    }

    @RequestMapping("/assignTheQuery")//指派查询
    public String assignTheQuery() {
        return "app/party/eventsAreAssignedBy/assignTheQuery";
    }

    @RequestMapping("/statistics")//巡检统计
    public String statistics() {
        return "app/party/inspection/statistics";
    }
    @RequestMapping("/CheckingStatistics")
    public String CheckingStatistics() {
        return "app/party/inspection/CheckingStatistics";
    }
    @RequestMapping("/communityRank")//巡检排行榜
    public String communityRank() {
        return "app/party/inspection/communityRank";
    }
    @RequestMapping("/statisticsOne") //事件统计
    public String statisticsOne() {
        return "app/party/eventProcessing/statistics";
    }
    @RequestMapping("/CheckingStatisticsOne")
    public String CheckingStatisticsOne() {
        return "app/party/eventProcessing/CheckingStatistics";
    }
    @RequestMapping("/eventRank")//事件排行榜
    public String eventRank() {
        return "app/party/eventProcessing/communityRank";
    }

    @RequestMapping("/assignStatistics")//派发统计
    public String assignStatistics() {
        return "app/party/eventsAreAssignedBy/assignStatistics";
    }
    @RequestMapping("/assignStatistics1")
    public String assignStatistics1() {
        return "app/party/eventsAreAssignedBy/assignStatistics1";
    }

    @RequestMapping("/backlogkongqi")//空气污染
    public String backlogkongqi() {
        return "app/party/interim/backlogkongqi";
    }
    @RequestMapping("/qiyexunjian")//企业巡检
    public String qiyexunjian() {
        return "app/party/interim/qiyexunjian";
    }
    @RequestMapping("/xunjianxinjian")
    public String dubanfankui() {
        return "app/party/interim/xunjianxinjian";
    }

    @RequestMapping("/dbfankui") //督办检测
    public String huanbaokaohea() {
        return "app/party/interim/dbfankui";
    }

    @RequestMapping("/duchajiancha")
    public String gaozhixjxx() {
        return "app/party/interim/duchajiancha";
    }
    @RequestMapping("/kongqiwr")
    public String gaozxjxx() {
        return "app/party/interim/kongqiwr";
    }

    @RequestMapping("/gaozhidw")
    public String huanbaokaohes() {
        return "app/party/interim/gaozhidw";
    }

    @RequestMapping("/gaozhidianwei")
    public String gaozhidianwei() {
        return "app/party/interim/gaozhidianwei";
    }

    @RequestMapping("/gaozhidwxj")
    public String gaozhixj() {
        return "app/party/interim/gaozhidwxj";
    }

    @RequestMapping("/backlogjianjie") //返回简介
    public String backlogjianjie() {
        return "app/party/interim/backlogjianjie";
    }

    /**
     * 创建作者:   杨璞
     * 创建日期:   2017年9月18日
     * 方法介绍:   页面跳转连接
     * @return  环保考核制度映射
     */
    @RequestMapping("/system")
    public String system(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/environmentAssessment/system";
    }

    /**
     * 创建作者:   杨璞
     * 创建日期:   2017年9月18日
     * 方法介绍:   页面跳转连接
     * @return  签到情况首页映射
     */
    @RequestMapping("/signIndex")
    public String signIndex(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/environmentAssessment/sign/index";
    }

    /**
     * 创建作者:   杨璞
     * 创建日期:   2017年9月18日
     * 方法介绍:   页面跳转连接
     * @return  签到情况首页映射
     */
    @RequestMapping("/sign")
    public String sign(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/environmentAssessment/sign/sign";
    }

    /**
     * 创建作者:   杨璞
     * 创建日期:   2017年9月18日
     * 方法介绍:   页面跳转连接
     * @return  巡检记录首页映射
     */
    @RequestMapping("/checkRecord")
    public String checkRecord(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/environmentAssessment/sign/checkRecord";
    }

    /**
     * 创建作者:   杨璞
     * 创建日期:   2017年9月18日
     * 方法介绍:   页面跳转连接
     * @return  第三方首页映射
     */
    @RequestMapping("/thirdParty")
    public String thirdParty(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/environmentAssessment/thirdParty/index";
    }

    /**
     * 创建作者:   杨璞
     * 创建日期:   2017年9月18日
     * 方法介绍:   页面跳转连接
     * @return  第三方映射
     */
    @RequestMapping("/third")
    public String third(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/environmentAssessment/thirdParty/third";
    }

    /**
     * 创建作者:   杨璞
     * 创建日期:   2017年9月18日
     * 方法介绍:   页面跳转连接
     * @return  网格中心首页映射
     */
    @RequestMapping("/gridCenter")
    public String gridCenter(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/environmentAssessment/thirdParty/gridCenter";
    }

    /**
     * 创建作者:   杨璞
     * 创建日期:   2017年9月18日
     * 方法介绍:   页面跳转连接
     * @return  网格中心首页映射
     */
    @RequestMapping("/allScore")
    public String allScore(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/environmentAssessment/allScore/index";
    }

    /**
     * 创建作者:   杨璞
     * 创建日期:   2017年9月18日
     * 方法介绍:   页面跳转连接
     * @return  网格中心首页映射
     */
    @RequestMapping("/currentScore")
    public String currentScore(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/environmentAssessment/allScore/currentScore";
    }

    /**
     * 创建作者:   杨璞
     * 创建日期:   2017年9月18日
     * 方法介绍:   页面跳转连接
     * @return  网格中心首页映射
     */
    @RequestMapping("/everyDay")
    public String everyDay(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/environmentAssessment/allScore/everyDay";
    }
    /**
     * 创建作者:   杨璞
     * 创建日期:   2017年9月18日
     * 方法介绍:   页面跳转连接
     * @return  网格中心首页映射
     */
    @RequestMapping("/holidaySetting")
    public String holidaySetting(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/environmentAssessment/holidaySetting";
    }

    @RequestMapping("/houseRentManager") //流动人口
    public String houseRentManager(){
        return "app/pz/houseRent/houseRentManager";
    }

    @RequestMapping("/index")
    public String clickNews(HttpServletRequest request) {
        ContextHolder.setConsumerType("xoa"
                + (String) request.getSession().getAttribute("loginDateSouse"));
        return "/app/mdjfgl/index";
    }

    @RequestMapping("/topic")
    public String topic(HttpServletRequest request) {
        ContextHolder.setConsumerType("xoa"
                + (String) request.getSession().getAttribute("loginDateSouse"));
        return "/app/environmentalPolicyTis/center";
    }

    //智慧综治的社区志愿者管理系统
    @RequestMapping("volunteerSystem")
    public String volunteerSystem( ) {
        return "app/mdjfgl/sqzyzgl";
    }

    @RequestMapping("baseData")
    public String work( ) {
        return "app/mdjfgl/jsdata";
    }

    /**
     * 创建作者:   杨璞
     * 创建日期:   2017年9月18日
     * 方法介绍:   页面跳转连接
     * @return  社区委员会映射
     */
    @RequestMapping("/committee")
    public String committee(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/mdjfgl/basicsData/committee";
    }

    /**
     * 创建作者:   杨璞
     * 创建日期:   2017年9月18日
     * 方法介绍:   页面跳转连接
     * @return  车棚映射
     */
    @RequestMapping("/carport")
    public String carport(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/mdjfgl/basicsData/carport";
    }

    /**
     * 创建作者:   杨璞
     * 创建日期:   2017年9月18日
     * 方法介绍:   页面跳转连接
     * @return  变电站映射
     */
    @RequestMapping("/substation")
    public String substation(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/mdjfgl/basicsData/substation";
    }

    /**
     * 创建作者:   杨璞
     * 创建日期:   2017年9月18日
     * 方法介绍:   页面跳转连接
     * @return  物业中心映射
     */
    @RequestMapping("/property")
    public String property(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/mdjfgl/basicsData/property";
    }

    /**
     * 创建作者:   杨璞
     * 创建日期:   2017年9月18日
     * 方法介绍:   页面跳转连接
     * @return  视频映射
     */
    @RequestMapping("/video")
    public String vedio(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/mdjfgl/basicsData/video";
    }

    /**
     * 创建作者:   杨璞
     * 创建日期:   2017年9月18日
     * 方法介绍:   页面跳转连接
     * @return  电子显示屏映射
     */
    @RequestMapping("/electronics")
    public String electronics(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/mdjfgl/basicsData/electronics";
    }

    /**
     * 创建作者:   杨璞
     * 创建日期:   2017年9月18日
     * 方法介绍:   页面跳转连接
     * @return  巡逻映射
     */
    @RequestMapping("/patrol")
    public String patrol(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/mdjfgl/basicsData/patrol";
    }
    /**
     * 创建作者:   杨璞
     * 创建日期:   2017年9月18日
     * 方法介绍:   页面跳转连接
     * @return  裙房布控映射
     */
    @RequestMapping("/dispatched")
    public String dispatched(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/mdjfgl/basicsData/dispatched";
    }
    @RequestMapping("/Monitor_point")
    public String Monitor_point() { return "app/party/Monitor_point"; }

    //智慧综治的社区信息采集系统
    @RequestMapping("acquisitionSystem")
    public String acquisitionSystem( ) {
        return "app/mdjfgl/sqxxcj";
    }

    //智慧综治的物技防信息采集
    @RequestMapping("acquisitionSystem1")
    public String acquisitionSystem1( ) {
        return "app/mdjfgl/sqxxcj1";
    }

    //智慧综治的群防群治力量采集
    @RequestMapping("acquisitionSystem2")
    public String acquisitionSystem2( ) {
        return "app/mdjfgl/sqxxcj2";
    }

    //智慧综治的校园基本信息采集
    @RequestMapping("acquisitionSystem3")
    public String acquisitionSystem3( ) {
        return "app/mdjfgl/sqxxcj3";
    }


    //智慧综治的六小单位采集
    @RequestMapping("acquisitionSystem4")
    public String acquisitionSystem4( ) {
        return "app/mdjfgl/sqxxcj4";
    }

    @RequestMapping("/manage")
    public String sendNews(HttpServletRequest request) {
        return "/app/environmentalPolicy/newsManage";
    }





    @RequestMapping("/visitIndex")
    public String visitIndex(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/safeEducation/visit/index";
    }

    @RequestMapping("/stoneGardenFigure1")
    public String stoneGardenFigure1() {
        return "app/party/stoneGardenFigure1";
    }

    @RequestMapping("/stoneGardenFigure2")
    public String stoneGardenFigure2() {
        return "app/party/stoneGardenFigure2";
    }

    @RequestMapping("/stoneGardenFigure3")
    public String stoneGardenFigure3() {
        return "app/party/stoneGardenFigure3";
    }

    @RequestMapping("/stoneGardenFigure4")
    public String stoneGardenFigure4() {
        return "app/party/stoneGardenFigure4";
    }

    @RequestMapping("/stoneGardenFigure5")
    public String stoneGardenFigure5() { return "app/party/stoneGardenFigure5";}

    @RequestMapping("/stoneGardenFigure")
    public String stoneGardenFigure() {
        return "app/party/stoneGardenFigure";
    }

    @RequestMapping("/enterpriseinformation")
    public String enterpriseinformation() {
        return "app/party/enterpriseinformation";
    }

    @RequestMapping("/enterpriseinformationstatistics")
    public String enterpriseinformationstatistics() {
        return "app/party/enterpriseinformationstatistics";
    }

    @RequestMapping("/xunchuan")
    public String xunchuan() {
        return "app/party/interim/xunchuan";
    }

    @RequestMapping("/xuncha")
    public String xuncha() {
        return "app/party/interim/xuncha";
    }
    @RequestMapping("/visit")
    public String visit(HttpServletRequest request) {
        Cookie redisSessionCookie = CookiesUtil.getCookieByName(request, "redisSessionId");
        String loginDateSouse = SessionUtils.getSessionInfo(request.getSession(), "loginDateSouse", String.class, redisSessionCookie);
        ContextHolder.setConsumerType("xoa" + loginDateSouse);
        return "app/safeEducation/visit/visit";
    }



    @RequestMapping("/gridPatient")
    public String gridPatient() {
        return "app/pzGrid/gridPatient";
    }
    @RequestMapping("/gridLdrk")
    public String gridLdrk() {
        return "app/pzGrid/gridLdrk";
    }
    @RequestMapping("/gridMdjftj")
    public String gridMdjftj() {
        return "app/pzGrid/gridMdjftj";
    }
    @RequestMapping("/gridZdsfry")
    public String gridZdsfry() {
        return "app/pzGrid/gridZdsfry";
    }
    @RequestMapping("/gridShjzry")
    public String gridShjzry() {
        return "app/pzGrid/gridShjzry";
    }
    @RequestMapping("/gridXyzbhj")
    public String gridXyzbhj() {
        return "app/pzGrid/gridXyzbhj";
    }
    @RequestMapping("/manageIndex") //弹出层首页映射
    public String manageIndex() {
        return "app/pzGrid/manageIndex";
    }
    @RequestMapping("/basicInfo") //弹出层基本信息映射
    public String basicInfo() {
        return "app/pzGrid/basicInfo";
    }
    @RequestMapping("/userInfo") //弹出层人员信息映射
    public String userInfo() {
        return "app/pzGrid/userInfo";
    }
    @RequestMapping("/rentInfo") //弹出层出租信息映射
    public String rentInfo() {
        return "app/pzGrid/rentInfo";
    }
    @RequestMapping("/SecurityInfo") //弹出层管理治保负责人映射
    public String SecurityInfo() {
        return "app/pzGrid/SecurityInfo";
    }
    @RequestMapping("/ServerInfo") //弹出层服务管理映射
    public String ServerInfo() {
        return "app/pzGrid/ServerInfo";
    }
    @RequestMapping("/addHouse") //弹出层新增房屋映射
    public String addHouse() {
        return "app/pzGrid/addHouse";
    }


    @RequestMapping("/gridCzu")
    public String gridCzu() {
        return "app/pzGrid/gridCzu";
    }





///////////////////////////////////////////////////////////////////////////////////////
    @RequestMapping("/runPsychosis")
    public String runPsychosis() {
        return "app/pzGrid/runPsychosis/runPsychosis";
    }//精神病首页



    @RequestMapping("/pzPersonFlowManager")
    public String pzPersonFlowManager() {
        return "app/pz/pzPersonFlow/pzPersonFlowManager";
    } //流动人口管理列表页
    @RequestMapping("/personFlowBaseInfo")
    public String personFlowBaseInfo() {
        return "app/pz/pzPersonFlow/personFlowBasicInfo";
    }//流动人口详情基础信息页
    @RequestMapping("/personFlowBusinessInfo")
    public String personFlowBusinessInfo() {
        return "app/pz/pzPersonFlow/personFlowBusinessInfo";
    }//流动人口详情业务信息页


    @RequestMapping("/selectDeptWG")
    public String selectDeptWG() {
        return "app/common/selectDeptWG";
    }//网格




    @RequestMapping("/organiZation")
    public String organiZation() {
        return "app/pzGrid/organiZation/organiZation";
    }//网格1
    @RequestMapping("/inforMation")
    public String inforMation() {
        return "app/pzGrid/inforMation/inforMation";
    }//网格2
    @RequestMapping("/stateMent")
    public String stateMent() {
        return "app/pzGrid/stateMent/stateMent";
    }//网格3
    @RequestMapping("/staTistics")
    public String staTistics() {
        return "app/pzGrid/staTistics/staTistics";
    }//网格4

    @RequestMapping("/runList")
    public String runList() {
        return "app/pzGrid/runList/runList";
    }//东湖街道2017年04月28日每日平安稳定信息动态


    //    @RequestMapping("/durgTaking")
//    public String durgTaking() { return "app/pzGrid/durgTaking/durgTaking"; }//吸毒人员
    @RequestMapping("/pzDrugManager")
    public String pzDrugManager(HttpServletRequest request) {return "app/pz/pzDrug/pzDrugManager";}//吸毒人员主页面
    @RequestMapping("/drugBasicInfo")
    public String drugBasicInfo() { return "app/pz/pzDrug/drugBasicInfo"; }//吸毒人员基础信息
    @RequestMapping("/drugBusinessInfo")
    public String drugBusinessInfo() { return "app/pz/pzDrug/drugBusinessInfo"; }//吸毒人员业务信息

    //    @RequestMapping("/juveniles")
//    public String juveniles() {return "app/pzGrid/juveniles/juveniles";}//重点青少年
    @RequestMapping("/getKeyYouthManagerPage")
    public String getKeyYouthManagerPage(HttpServletRequest request){ return "app/pz/keyYouth/pzKeyYouthManager";}//重点青少年主页面
    @RequestMapping("/pzKeyYouthBasicInfo")
    public String pzKeyYouthBasicInfo() { return "app/pz/keyYouth/keyYouthBasicInfo"; }//重点青少年基础信息
    @RequestMapping("/pzKeyYouthBusinessInfo")
    public String pzKeyYouthBusinessInfo() { return "app/pz/keyYouth/keyYouthBusinessInfo"; }//重点青少年业务信息

    @RequestMapping("/callOn")
    public String callOn() { return "app/pzGrid/callOn/callOn"; }//重点上访问对象
    @RequestMapping("/callOnList")
    public String callOnList() { return "app/pzGrid/callOn/callOnlist"; }

    @RequestMapping("/callOnBusiness")
    public String callOnBusiness() { return "app/pzGrid/callOn/callOnBusiness"; }

    @RequestMapping("/permanentResidents")
    public String permanentResidents() { return "app/pz/pzPersonAwaysLive/pzPersonAwaysManager"; }//常住人口

    @RequestMapping("/personAwayBasicInfo")
    public String personAwayBasicInfo(String personId) { return "app/pz/pzPersonAwaysLive/personAwayBasicInfo"; }//常住人口详情页


    @RequestMapping("/gridtaffgSList")
    public String gridtaffgSList() { return "app/pzGrid/gridtaffgSList/gridtaffgSList"; }//网格人员列表

    @RequestMapping("/regionalProfile")
    public String regionalProfile() { return "app/pzGrid/regionalProfile/regionalProfile"; }//区域简介

    @RequestMapping("/gridSummary")
    public String gridSummary() { return "app/pzGrid/gridSummary/gridSummary"; }//网格汇总

    @RequestMapping("/organizationStatistics")
    public String organizationStatistics() { return "app/pzGrid/organizationStatistics/organizationStatistics"; }//组织机构统计

    @RequestMapping("/contradiction")
    public String contradiction() { return "app/pzGrid/contradiction/contradiction"; }//矛盾

    @RequestMapping("/fromPrison")
    public String fromPrison() { return "app/pzGrid/fromPrison/fromPrison"; }//刑满

    @RequestMapping("/runListinfo")
    public String runListinfo(){return "app/pzGrid/runList/runListinfo";}






    @RequestMapping("/housingService")
    public String housingService() { return "app/pzGrid/housingService"; }//刑满


    @RequestMapping("/selectRentals")
    public String selectRentals() { return "app/common/selectRentals"; }//出租屋选择

    @RequestMapping("/mainIndexs")
    public String mainIndexs() { return "app/pz/specialPopulationForm/mainIndexs"; }//分析研判--特殊人群分析研判表图



    @RequestMapping("/analysis")
    public String analysis() { return "app/pz/specialPopulationForm/analysis"; }//分析表图

    @RequestMapping("/serviceCase")
    public String serviceCase() { return "app/pz/specialPopulationForm/serviceCase"; }//服务表图



    @RequestMapping("/specialPopulations")
    public String specialPopulations() { return "app/pz/specialPopulationForm/specialPopulations"; }//特殊人群表图


    @RequestMapping("/sqjzryLog")
    public String sqjzryLog() { return "app/pz/gridShjzryinfos/pzShzyLog"; }  //社区矫正人员日志列表

    @RequestMapping("/easyAccidentLog")
    public String easyAccidentLog() { return "app/pz/pzEasyAccident/pzEasyAccidentLog"; }  //易肇事日志列表

    @RequestMapping("/drugLog")
    public String drugLog() { return "app/pz/pzDrug/pzDrugLog"; }//吸毒人员轨迹信息

    @RequestMapping("/keyYouthLog")
    public String keyYouthLog() { return "app/pz/keyYouth/pzKeyYouthLog"; }  //重点青少年日志列表

    @RequestMapping("/callOnLog")
    public String callOnLog() { return "app/pzGrid/callOn/callOnLog"; }  //重点信访人员日志列表

    @RequestMapping("/roundSchool")
    public String roundSchool() { return "app/pz/roundSchool/main"; }  //校园周边

    @RequestMapping("/fullReleaseBasicInfo")
    public String fullReleaseBasicInfo() { return "app/pz/fullrelease/fullReleaseBasicInfo"; }  //刑满释放人员基础信息
    @RequestMapping("/fullReleaseBusinessInfo")
    public String fullReleaseBusinessInfo() { return "app/pz/fullrelease/fullReleaseBusinessInfo"; }  //刑满释放人员业务信息
    @RequestMapping("/fullReleaseLog")
    public String fullReleaseLog() { return "app/pz/fullrelease/fullReleaseLog"; }  //刑满释放人员日志列表


    @RequestMapping("/selectPerson")
    public String selectPerson(){
        return "app/common/selectPerson";
    }

    @RequestMapping("/personManage")
    public String houseRentManager1(){
        return "app/pz/pzPerson/personManage";
    }

    @RequestMapping("/personInfo")
    public String houseInfo(){
        return "app/pz/pzPerson/personInfo";
    }

    @RequestMapping("/openning")
    public String openning(){
        return "app/pz/pzPerson/openning";
    }


    @RequestMapping("/development")
    public String development(){
        return "app/common/development";
    }

    @RequestMapping("/easyAccidentList")
    public String runPsychosiss() {
        return "app/pz/pzEasyAccident/runPsychosis";
    }

    //流动人口首页
    @RequestMapping("/basicMsg")
    public String basicMsg() {
        return "app/pz/pzEasyAccident/basicInfo";
    }

    //流动人口首页
    @RequestMapping("/businessInfo")
    public String businessInfo() {
        return "app/pz/pzEasyAccident/businessInfo";
    }

    @RequestMapping("/perSerManage")
    public String perSerManage(){
        return "app/pz/pzPersonServer/perSerManage";
    }

    @RequestMapping("/perSerList")
    public String perSerList(){
        return "app/pz/pzPersonServer/perSerList";
    }

    @RequestMapping("/perSerInfo")
    public String perSerInfo(){
        return "app/pz/pzPersonServer/perSerInfo";
    }
    @RequestMapping("/pzHouse")
    public String PzHouse(HttpServletRequest request) {

        return "app/pz/pzHouse/PzHouse";
    }
    @RequestMapping("/PzHouseParticulars")
    public String PzHouseParticulars(HttpServletRequest request) {

        return "app/pz/pzHouse/PzHouseParticulars";
    }
    @RequestMapping("/roundBasicInfo")
    public String roundBasicInfo(HttpServletRequest request) {
        return "app/pz/roundSchool/roundBasicInfo";
    }

    @RequestMapping("/fullScreen")
    public String fullScreen() {
        return "app/party/fullScreen";
    }

    @RequestMapping("/ditu")
    public String ditu() {
        return "app/party/ditu";
    }
    @RequestMapping("/doorMap")
    public String doorMap() {
        return "app/party/doorMap";
    }
    @RequestMapping("/dituDemo")
    public String dituDemo() {
        return "app/party/dituDemo";
    }
    @RequestMapping("/drawMap")
    public String drawMap() {
        return "app/party/drawMap";
    }
    @RequestMapping("/baidumap")
    public String baidumap() {
        return "app/party/baidumap";
    }
    @RequestMapping("/cityMap")
    public String cityMap() {
        return "app/party/cityMap";
    }
    @RequestMapping("/zongMap")
    public String zongMap() {
        return "app/party/zongMap";
    }
    @RequestMapping("/mapCoordinates")
    public String mapCoordinates() {
        return "app/party/mapCoordinates";
    }
    @RequestMapping("/safeMap")
    public String safeMap() {
        return "app/party/safeMap";
    }

    @RequestMapping("/mapDangjian")
    public String mapDangjian(){
        return "app/party/mapDangjian";
    }
    @RequestMapping("/zhPlatform")
    public String zhPlatform(){
        return "app/party/zhPlatform";
    }
    @RequestMapping("/doorIndex")
    public String doorIndex(){
        return "app/party/doorIndex";
    }
    @RequestMapping("/newchengjian")
    public String newchengjian(){
        return "app/party/newchengjian";
    }
    @RequestMapping("/cc")
    public String cc(){
        return "app/party/cc";
    }
//    @RequestMapping("/InspectionLocation")
//    public String InspectionLocation(){
//        return "app/party/InspectionLocation";
//    }

    @RequestMapping("/houseRentDetailH5")
    public String gethouseRentDetailH5(){
        return "app/h5/house/houseRentDetailH5";
    }
    @RequestMapping("/houseRentManagerH5")
    public String gethouseRentManagerH5(){
        return "app/h5/house/houseRentManagerH5";
    }
    @RequestMapping("/houseRentQueryH5")
    public String gethouseRentQueryH5(){
        return "app/h5/house/houseRentQueryH5";
    }

    @RequestMapping("personDetailH5")
    public String getpersonDetailH5(){
        return "app/h5/pzPerson/personDetailH5";
    }
    @RequestMapping("/personManagerH5")
    public String getpersonManagerH5(){
        return "app/h5/pzPerson/personManagerH5";
    }
    @RequestMapping("/personQueryH5")
    public String getpersonQueryH5(){
        return "app/h5/pzPerson/personQueryH5";
    }

    @RequestMapping("/serviceDetailH5")
    public String getserviceDetailH5(){
        return "app/h5/fuservice/serviceDetailH5";
    }
    @RequestMapping("/serviceManagerH5")
    public String getserviceManagerH5(){
        return "app/h5/fuservice/serviceManagerH5";
    }
    @RequestMapping("/serviceQueryH5")
    public String getserviceQueryH5(){
        return "app/h5/fuservice/serviceQueryH5";
    }

}
